//
//  NSObject+TextSize.h
//  ZLParty
//
//  Created by uplooking on 2017/7/26.
//  Copyright © 2017年 RenLong. All rights reserved.
//

#import <Foundation/Foundation.h>


@interface NSObject (TextSize)

- (CGFloat)heightByStringContent:(NSString *)string andLabelWidth:(CGFloat)width andFontSize:(CGFloat)size;

- (CGFloat)heightByStringBlodContent:(NSString *)string andLabelWidth:(CGFloat)width andFontSize:(CGFloat)size;

- (CGFloat)widthByStringContent:(NSString *)string andFontSize:(CGFloat)size;

- (CGFloat)widthByAttributedStringContent:(NSAttributedString *)string;

- (CGFloat)heightFunctionViewInitWithCount:(NSInteger)count cycle:(NSInteger)cycle everyHeight:(CGFloat)everyHeight;

@end
